package com.jianbing.shasha.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

import java.util.Date;

public class ShashaRecordVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "编号")
    private Long id;

    @Excel(name = "用户Id")
    private Long userId;

    @Excel(name="第几次学习")
    private Integer times;

    @Excel(name = "学习次数")
    private Integer counts;

    @Excel(name = "题目编号")
    private Long questionId;

    @Excel(name = "正确答案")
    private String rightAnswer;

    @Excel(name = "语音答案")
    private String voiceAnswer;

    @Excel(name = "正误判断")
    private String correct;

    @Excel(name = "选择答案时长")
    private String selectAnswerDuration;

    @Excel(name = "语音时长")
    private String voiceDuration;

    @Excel(name = "提示语音播放次数")
    private Integer promptsNumber;

    @Excel(name = "选择答案")
    private String selectAnswer;
    private String answerPath;

    private Long levels;
    @Excel(name = "题目类型")
    private String testType;
    @JsonFormat(pattern = "yyyy-MM-dd hh-mm-ss")
    @Excel(name = "答题日期", width = 30, dateFormat = "yyyy-MM-dd hh-mm-ss")
    private Date insertTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getRightAnswer() {
        return rightAnswer;
    }

    public void setRightAnswer(String rightAnswer) {
        this.rightAnswer = rightAnswer;
    }

    public String getVoiceAnswer() {
        return voiceAnswer;
    }

    public void setVoiceAnswer(String voiceAnswer) {
        this.voiceAnswer = voiceAnswer;
    }

    public String getCorrect() {
        return correct;
    }

    public void setCorrect(String correct) {
        this.correct = correct;
    }

    public String getVoiceDuration() {
        return voiceDuration;
    }

    public void setVoiceDuration(String voiceDuration) {
        this.voiceDuration = voiceDuration;
    }

    public Integer getPromptsNumber() {
        return promptsNumber;
    }

    public void setPromptsNumber(Integer promptsNumber) {
        this.promptsNumber = promptsNumber;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAnswerPath() {
        return answerPath;
    }

    public void setAnswerPath(String answerPath) {
        this.answerPath = answerPath;
    }

    public String getTestType() {
        return testType;
    }

    public void setTestType(String testType) {
        this.testType = testType;
    }

    public Long getLevels() {
        return levels;
    }

    public void setLevels(Long levels) {
        this.levels = levels;
    }


    public String getSelectAnswerDuration() {
        return selectAnswerDuration;
    }

    public void setSelectAnswerDuration(String selectAnswerDuration) {
        this.selectAnswerDuration = selectAnswerDuration;
    }

    public String getSelectAnswer() {
        return selectAnswer;
    }

    public void setSelectAnswer(String selectAnswer) {
        this.selectAnswer = selectAnswer;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "ShashaRecordVO{" +
                "id=" + id +
                ", userId=" + userId +
                ", times=" + times +
                ", counts=" + counts +
                ", questionId=" + questionId +
                ", rightAnswer='" + rightAnswer + '\'' +
                ", voiceAnswer='" + voiceAnswer + '\'' +
                ", correct='" + correct + '\'' +
                ", selectAnswerDuration='" + selectAnswerDuration + '\'' +
                ", voiceDuration='" + voiceDuration + '\'' +
                ", promptsNumber=" + promptsNumber +
                ", selectAnswer='" + selectAnswer + '\'' +
                ", answerPath='" + answerPath + '\'' +
                ", levels=" + levels +
                ", testType='" + testType + '\'' +
                ", insertTime=" + insertTime +
                '}';
    }
}
